import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//全局注册组件
import  Navbar from './layout/components/Navbar.vue'
import  aboutUs from '@/layout/components/views/aboutUs/index.vue'
import  classify from '@/layout/components/views/classify/index.vue'
import  dashboard from '@/layout/components/views/dashboard/index.vue'
import  realEstateAgent from '@/layout/components/views/realEstateAgent/index.vue'


Vue.component('Navbar',Navbar)
Vue.component('aboutUs',aboutUs)
Vue.component('classify',classify)
Vue.component('dashboard',dashboard)
Vue.component('realEstateAgent',realEstateAgent)




import '@/styles/index.scss'//全局样式
import ElementUI from 'element-ui'//饿了么组件
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
